GLR Parser with Conditional Action Model(CAM)
نویسندگان
چکیده
There are two different approaches in the LR parsing. The first one is the deterministic approach that performs the only one action using the control rules learned without any LR parsing resource. It shows good performance in speed. But it has a disadvantage that it cannot correct the previous mistakes, thus directly affects the parsing result. The second one is the probabilistic LR parsing approach, which uses annotated corpora and LR table. In this paper, we propose a new probabilistic GLR parsing method that can solve the problems of conventional LR parsing approaches. The parser takes probabilistic shift or reduce action on the graph-structured stack, which is conditioned on the partially constructed parse. It chooses the most probable action sequences for the given input sentence when it reaches the final state. With the probabilistic model, it can overcome the shortcomings of the deterministic LR parsing scheme, and it uses richer information in the stack than the previous probabilistic methods.
منابع مشابه
Glr Parser with Conditional Action Model Using Surface Phrasal Types for Korean
Since the first approach [Wright and Wrigley 1991]of combining a probabilistic method into the GLR technique was published, Some probabilistic GLR parsers also have been implemented in which probabilities are assigned to actions of LR parsing tables by using lookaheads or LR states as simple context information of [Briscoe and Carroll 1993], [Kentaro et al. 1998], and [Ruland, 2000] which does ...
متن کاملElkhound: A Fast, Practical GLR Parser Generator
The Generalized LR (GLR) parsing algorithm is attractive for use in parsing programming languages because it is asymptotically efficient for typical grammars, and can parse with any context-free grammar, including ambiguous grammars. However, adoption of GLR has been slowed by high constant-factor overheads and the lack of a general, user-defined action interface. In this paper we present algor...
متن کاملA New Formalization of Probabilistic GLR Parsing
This paper presents a new formalization of probabilistic GLR language modeling for statistical parsing. Our model inherits its essential features from Briscoe and Carroll's generalized probabilistic LR model [3], which obtains context-sensitivity by assigning a probability to each LR parsing action according to its left and right context. Briscoe and Carroll's model, however, has a drawback in ...
متن کاملGlr* : a Robust Parser for Spontaneously Spoken Language
This paper describes GLR*, a parsing system based on Tomita's Generalized LR parsing algorithm, that was designed to be robust to two particular types of extra-grammaticality: noise in the input, and limited grammar coverage. GLR* attempts to overcome these forms of extra-grammaticality by ignoring the unparsable words and fragments and conducting a search for the maximal subset of the original...
متن کاملUGLR Parser for Phrase Structure Languages as an Extension of GLR Parser
This paper proposes the UGLR parser as an extension of the GLR parser. A UGLR parser is powerful enough to parse deterministically any phrase structure language if it is in the class of recursive languages and can parse any context free language as fast as the conventional GLR parser. Natural language processing often requires a parser for languages belonging to classes larger than that of cont...
متن کامل